#ifndef LABELX_H
#define LABELX_H

#include <QLabel>

class LabelX : public QLabel
{
	Q_OBJECT
public:
	explicit LabelX(QWidget *parent = nullptr);
	explicit LabelX(QString str);

private:
	int enternum=0;
	int leavenum=0;

protected:
	void enterEvent(QEnterEvent *event);
	void leaveEvent(QEvent* event);
};

#endif // LABELX_H
